package com.exam.scjp5.objectives.section_1;

import java.util.List;
import java.util.Scanner;
import java.util.regex.MatchResult;

import javax.swing.text.NavigationFilter;

public class Tester
{
    
    public static void main(String... args)
    {
  
        
    }
    
    public static <A extends Apple> List<A> testMethod(List<A> l)
    {
        Apple a = new Apple();
        l.add(a);
        return null;
        
        try
        {
            throw new Exception();
        }
        finally{}
        catch(Exception e){ e.printStackTrace();}
    }
}

class Apple
{
    
}
